package test6;

public class Test {
    public static void main(String[] args) {
        //定义个数
        int count = 0;
        //循环
        for (long i = Math.round(-15.3); i < Math.round(8.9); i++) {
            if (Math.abs(i)>10||Math.abs(i)<5){
                System.out.println( i);
                count++;
            }
        }
        System.out.println("个数是："+count);
    }
}
